[INFO] fetching crate figshare-rs 0.1.1...
[INFO] fixing figshare-rs-0.1.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate figshare-rs 0.1.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate figshare-rs 0.1.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate figshare-rs 0.1.1
[INFO] tweaked toml for crates.io crate figshare-rs 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate figshare-rs 0.1.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate figshare-rs 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 07c24b625428b9881c9d59ffa77e059a3fcd39fdbf717b3e0524ec06686facd2
[INFO] running `Command { std: "docker" "start" "07c24b625428b9881c9d59ffa77e059a3fcd39fdbf717b3e0524ec06686facd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "07c24b625428b9881c9d59ffa77e059a3fcd39fdbf717b3e0524ec06686facd2" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07c24b625428b9881c9d59ffa77e059a3fcd39fdbf717b3e0524ec06686facd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "07c24b625428b9881c9d59ffa77e059a3fcd39fdbf717b3e0524ec06686facd2" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling aws-lc-rs v1.16.3
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling rustls v0.23.38
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking rustls-pki-types v1.14.0
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]     Checking secrecy v0.10.3
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking hybrid-array v0.4.10
[INFO] [stderr]     Checking crypto-common v0.2.1
[INFO] [stderr]     Checking block-buffer v0.12.0
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]    Compiling cc v1.2.60
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking digest v0.11.2
[INFO] [stderr]     Checking md-5 v0.11.0
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling aws-lc-sys v0.40.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking tokio v1.52.1
[INFO] [stderr]     Checking zerofrom v0.1.7
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking client-uploader-traits v0.1.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rustls-platform-verifier v0.6.2
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking reqwest v0.13.2
[INFO] [stderr]     Checking figshare-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/client.rs (4 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/client.rs:1017:14
[INFO] [stdout]      |
[INFO] [stdout] 1011 |         let staged = tokio::task::spawn_blocking(move || stage_reader(reader, content_length))
[INFO] [stdout]      |             ------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `staged` calls a custom destructor
[INFO] [stdout]      |             `staged` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1017 |             .await
[INFO] [stdout]      |              ^^^^^
[INFO] [stdout]      |              |
[INFO] [stdout]      |              this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |              up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 1018 |     }
[INFO] [stdout]      |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout] note: `staged` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `staged` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tempfile-3.27.0/src/file/mod.rs:402:1
[INFO] [stdout]      |
[INFO] [stdout]  402 | impl Drop for TempPath {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/downloads.rs:282:29
[INFO] [stdout]     |
[INFO] [stdout] 282 |     while let Some(chunk) = futures_util::StreamExt::next(&mut stream.stream).await {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                             |                                                 |
[INFO] [stdout]     |                             |                                                 this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                             |                                                 `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                             this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                             up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 283 |         let chunk = chunk?;
[INFO] [stdout]     |             -----   ------
[INFO] [stdout]     |             |       |
[INFO] [stdout]     |             |       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |             |       `#2` will be dropped later as of Edition 2024
[INFO] [stdout]     |             `chunk` calls a custom destructor
[INFO] [stdout]     |             `chunk` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 286 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `chunk` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/workflow.rs:56:26
[INFO] [stdout]     |
[INFO] [stdout]  52 |           for upload in uploads {
[INFO] [stdout]     |               ------    -------
[INFO] [stdout]     |               |         |
[INFO] [stdout]     |               |         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               |         `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |               `upload` calls a custom destructor
[INFO] [stdout]     |               `upload` will be dropped later as of Edition 2024
[INFO] [stdout]  53 |               let result = match upload.source {
[INFO] [stdout]     |                   ------
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   `result` calls a custom destructor
[INFO] [stdout]     |                   `result` will be dropped later as of Edition 2024
[INFO] [stdout]  54 |                   UploadSource::Path(path) => {
[INFO] [stdout]  55 | /                     self.upload_path_with_filename(article.id, &upload.filename, &path)
[INFO] [stdout]  56 | |                         .await
[INFO] [stdout]     | |                          ^^^^-
[INFO] [stdout]     | |                          |   |
[INFO] [stdout]     | |__________________________|___`__awaitee` calls a custom destructor
[INFO] [stdout]     |                            |   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]     |                            up until Edition 2021 `#5` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                            `#2` will be dropped later as of Edition 2024
[INFO] [stdout]  57 |                   }
[INFO] [stdout]     |                   - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout] ...
[INFO] [stdout]  62 | /                     self.upload_reader(article.id, &upload.filename, reader, content_length)
[INFO] [stdout]  63 | |                         .await
[INFO] [stdout]     | |                          -----
[INFO] [stdout]     | |__________________________|___|
[INFO] [stdout]     | |__________________________|___this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                            |   `#3` will be dropped later as of Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                            `#4` will be dropped later as of Edition 2024
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `upload` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `result` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `result` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#4` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/workflow.rs:63:26
[INFO] [stdout]     |
[INFO] [stdout]  52 |           for upload in uploads {
[INFO] [stdout]     |               ------    -------
[INFO] [stdout]     |               |         |
[INFO] [stdout]     |               |         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               |         `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |               `upload` calls a custom destructor
[INFO] [stdout]     |               `upload` will be dropped later as of Edition 2024
[INFO] [stdout]  53 |               let result = match upload.source {
[INFO] [stdout]     |                   ------
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   `result` calls a custom destructor
[INFO] [stdout]     |                   `result` will be dropped later as of Edition 2024
[INFO] [stdout]  54 |                   UploadSource::Path(path) => {
[INFO] [stdout]  55 | /                     self.upload_path_with_filename(article.id, &upload.filename, &path)
[INFO] [stdout]  56 | |                         .await
[INFO] [stdout]     | |                          -----
[INFO] [stdout]     | |                          |   |
[INFO] [stdout]     | |__________________________|___`__awaitee` calls a custom destructor
[INFO] [stdout]     |                            |   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                            `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  62 | /                     self.upload_reader(article.id, &upload.filename, reader, content_length)
[INFO] [stdout]  63 | |                         .await
[INFO] [stdout]     | |                          ^^^^-
[INFO] [stdout]     | |__________________________|___|
[INFO] [stdout]     | |__________________________|___this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                            |   `#3` will be dropped later as of Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]     |                            up until Edition 2021 `#5` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                            `#4` will be dropped later as of Edition 2024
[INFO] [stdout]  64 | |                 }
[INFO] [stdout]     | |                 - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `upload` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `result` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `result` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#4` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/client.rs:1326:15
[INFO] [stdout]      |
[INFO] [stdout] 1324 |         let _lock = ENV_LOCK.lock().unwrap();
[INFO] [stdout]      |             -----
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `_lock` calls a custom destructor
[INFO] [stdout]      |             `_lock` will be dropped later as of Edition 2024
[INFO] [stdout] 1325 |         let _guard = EnvVarGuard::set(Auth::TOKEN_ENV_VAR, None);
[INFO] [stdout]      |             ------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `_guard` calls a custom destructor
[INFO] [stdout]      |             `_guard` will be dropped later as of Edition 2024
[INFO] [stdout] 1326 |         match Auth::from_env().unwrap_err() {
[INFO] [stdout]      |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |               |
[INFO] [stdout]      |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |               up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1333 |     }
[INFO] [stdout]      |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]      |
[INFO] [stdout]  680 | impl Drop for Bytes {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `_lock` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `_guard` invokes this custom destructor
[INFO] [stdout]     --> src/client.rs:1297:5
[INFO] [stdout]      |
[INFO] [stdout] 1297 |     impl Drop for EnvVarGuard {
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/client.rs:1017:14
[INFO] [stdout]      |
[INFO] [stdout] 1011 |         let staged = tokio::task::spawn_blocking(move || stage_reader(reader, content_length))
[INFO] [stdout]      |             ------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `staged` calls a custom destructor
[INFO] [stdout]      |             `staged` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1017 |             .await
[INFO] [stdout]      |              ^^^^^
[INFO] [stdout]      |              |
[INFO] [stdout]      |              this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |              up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 1018 |     }
[INFO] [stdout]      |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout] note: `staged` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `staged` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tempfile-3.27.0/src/file/mod.rs:402:1
[INFO] [stdout]      |
[INFO] [stdout]  402 | impl Drop for TempPath {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/downloads.rs:282:29
[INFO] [stdout]     |
[INFO] [stdout] 282 |     while let Some(chunk) = futures_util::StreamExt::next(&mut stream.stream).await {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                             |                                                 |
[INFO] [stdout]     |                             |                                                 this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                             |                                                 `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                             this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                             up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 283 |         let chunk = chunk?;
[INFO] [stdout]     |             -----   ------
[INFO] [stdout]     |             |       |
[INFO] [stdout]     |             |       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |             |       `#2` will be dropped later as of Edition 2024
[INFO] [stdout]     |             `chunk` calls a custom destructor
[INFO] [stdout]     |             `chunk` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 286 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `chunk` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/workflow.rs:56:26
[INFO] [stdout]     |
[INFO] [stdout]  52 |           for upload in uploads {
[INFO] [stdout]     |               ------    -------
[INFO] [stdout]     |               |         |
[INFO] [stdout]     |               |         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               |         `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |               `upload` calls a custom destructor
[INFO] [stdout]     |               `upload` will be dropped later as of Edition 2024
[INFO] [stdout]  53 |               let result = match upload.source {
[INFO] [stdout]     |                   ------
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   `result` calls a custom destructor
[INFO] [stdout]     |                   `result` will be dropped later as of Edition 2024
[INFO] [stdout]  54 |                   UploadSource::Path(path) => {
[INFO] [stdout]  55 | /                     self.upload_path_with_filename(article.id, &upload.filename, &path)
[INFO] [stdout]  56 | |                         .await
[INFO] [stdout]     | |                          ^^^^-
[INFO] [stdout]     | |                          |   |
[INFO] [stdout]     | |__________________________|___`__awaitee` calls a custom destructor
[INFO] [stdout]     |                            |   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]     |                            up until Edition 2021 `#5` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                            `#2` will be dropped later as of Edition 2024
[INFO] [stdout]  57 |                   }
[INFO] [stdout]     |                   - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout] ...
[INFO] [stdout]  62 | /                     self.upload_reader(article.id, &upload.filename, reader, content_length)
[INFO] [stdout]  63 | |                         .await
[INFO] [stdout]     | |                          -----
[INFO] [stdout]     | |__________________________|___|
[INFO] [stdout]     | |__________________________|___this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                            |   `#3` will be dropped later as of Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                            `#4` will be dropped later as of Edition 2024
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `upload` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `result` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `result` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#4` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/workflow.rs:63:26
[INFO] [stdout]     |
[INFO] [stdout]  52 |           for upload in uploads {
[INFO] [stdout]     |               ------    -------
[INFO] [stdout]     |               |         |
[INFO] [stdout]     |               |         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               |         `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |               `upload` calls a custom destructor
[INFO] [stdout]     |               `upload` will be dropped later as of Edition 2024
[INFO] [stdout]  53 |               let result = match upload.source {
[INFO] [stdout]     |                   ------
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   `result` calls a custom destructor
[INFO] [stdout]     |                   `result` will be dropped later as of Edition 2024
[INFO] [stdout]  54 |                   UploadSource::Path(path) => {
[INFO] [stdout]  55 | /                     self.upload_path_with_filename(article.id, &upload.filename, &path)
[INFO] [stdout]  56 | |                         .await
[INFO] [stdout]     | |                          -----
[INFO] [stdout]     | |                          |   |
[INFO] [stdout]     | |__________________________|___`__awaitee` calls a custom destructor
[INFO] [stdout]     |                            |   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                            `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  62 | /                     self.upload_reader(article.id, &upload.filename, reader, content_length)
[INFO] [stdout]  63 | |                         .await
[INFO] [stdout]     | |                          ^^^^-
[INFO] [stdout]     | |__________________________|___|
[INFO] [stdout]     | |__________________________|___this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                            |   `#3` will be dropped later as of Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]     |                            up until Edition 2021 `#5` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                            this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                            `#4` will be dropped later as of Edition 2024
[INFO] [stdout]  64 | |                 }
[INFO] [stdout]     | |                 - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `upload` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `result` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `result` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#4` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/src/bytes.rs:680:1
[INFO] [stdout]     |
[INFO] [stdout] 680 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/live_account.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/mock_api.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/live_public.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/mock_support.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.37s
[INFO] [stderr] crater-edition-check: figshare-rs v0.1.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking figshare-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]     --> src/client.rs:1289:32
[INFO] [stdout]      |
[INFO] [stdout] 1289 |                 Some(value) => unsafe { std::env::set_var(name, value) },
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/lib.rs:2:11
[INFO] [stdout]      |
[INFO] [stdout]    2 | #![forbid(unsafe_code)]
[INFO] [stdout]      |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]     --> src/client.rs:1291:25
[INFO] [stdout]      |
[INFO] [stdout] 1291 |                 None => unsafe { std::env::remove_var(name) },
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]     --> src/client.rs:1301:32
[INFO] [stdout]      |
[INFO] [stdout] 1301 |                 Some(value) => unsafe { std::env::set_var(self.name, value) },
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]     --> src/client.rs:1303:25
[INFO] [stdout]      |
[INFO] [stdout] 1303 |                 None => unsafe { std::env::remove_var(self.name) },
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `figshare-rs` (lib test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "07c24b625428b9881c9d59ffa77e059a3fcd39fdbf717b3e0524ec06686facd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07c24b625428b9881c9d59ffa77e059a3fcd39fdbf717b3e0524ec06686facd2", kill_on_drop: false }`
[INFO] [stdout] 07c24b625428b9881c9d59ffa77e059a3fcd39fdbf717b3e0524ec06686facd2
